package gemini.castor.ui.client.service;

import gemini.basic.dto.SearchProductCriteria;
import gemini.basic.model.Product;
import gemini.basic.model.ProductType;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface SearchProductServiceAsync {

	void getAllCategory(AsyncCallback<ArrayList<ProductType>> callback);

	void findProduct(SearchProductCriteria criteria,
			AsyncCallback<ArrayList<Product>> callback);
}
